#ifndef ERCHENG_AND_PIC_H
#define ERCHENG_AND_PIC_H

#include <QWidget>


#include <Eigen/Dense>
#include <Eigen/Core>
#include <Eigen/Geometry>
#include <Eigen/Eigenvalues>
#include <QPushButton> //Push按钮类
#include <QList> //列表类
#include <QDebug> //QDebug类
#include <QLineEdit>
#include <QLabel>

namespace Ui {
class ercheng_and_pic;
}

class ercheng_and_pic : public QWidget
{
    Q_OBJECT

public:
    explicit ercheng_and_pic(QWidget *parent = nullptr);
    ~ercheng_and_pic();

private slots:
    void on_pushButton_clicked();

    void on_back_clicked();

    void on_pushButton_2_clicked();
    void createtest();

    void on_n_confirm_clicked();

    void on_data_n_returnPressed();

    void on_pushButton_3_clicked();

    void on_import_2_clicked();

private:
    Ui::ercheng_and_pic *ui;
    QList<QLineEdit*> datalist_x;//动态创建x
    QList<QLineEdit*> datalist_y;
    QList<QLabel*> datanamelist;
    QLineEdit *data_x;
    QLineEdit *data_y;
    QLineEdit *data;
    QLabel *dataname;
};

#endif // ERCHENG_AND_PIC_H
